package com.itheima.Zuoye01;
/*
属性：品牌、型号、颜色、售价、屏幕尺寸、分辨率
 */
public class Dianshi extends Electric {
    double size;
    int fenb;

    public Dianshi() {
    }

    public Dianshi(String brand, String xinghao, String color, double price, double size, int fenb) {
        super(brand, xinghao, color, price);
        this.size = size;
        this.fenb = fenb;
    }

    public double getSize() {
        return size;
    }

    public void setSize(double size) {
        this.size = size;
    }

    public int getFenb() {
        return fenb;
    }

    public void setFenb(int fenb) {
        this.fenb = fenb;
    }
}
